package com.geekbang.boot.demo2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author nhsoft.lul
 */
public class Demo2Application {

    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        Demo2Student demo2Student = context.getBean(Demo2Student.class);
        System.out.println(demo2Student);
    }
}
